//
//  jishiViewController.m
//  诗韵
//
//  Created by Song on 2018/3/8.
//  Copyright © 2018年 Song. All rights reserved.
//

#import "jishiViewController.h"

@interface jishiViewController ()

@end

@implementation jishiViewController

//-(void)viewWillAppear:(BOOL)animated {
//    [super viewWillAppear:animated];
//
//    self.tabBarController.tabBar.hidden = NO;
//}

- (void)viewDidLoad {
    [super viewDidLoad];
    [self setupNav];
}

// 设置导航栏
-(void)setupNav {
    
    UIImageView *titleImg = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"jishilogo"]];
    //    titleImg.backgroundColor = [UIColor redColor];
    
    NSLog(@"%@",NSStringFromCGRect(titleImg.frame));
    //    titleImg.frame.origin.x = self.view.frame.size.width / 2;
    [self.navigationController.navigationBar addSubview:titleImg];
    
}

@end
